package top.yoahh.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 系统设置-字典项
 * </p>
 *
 * @author hjx
 * @since 2022-06-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SysDictItem对象", description="系统设置-字典项")
public class SysDictItem implements Serializable {

    private static final long serialVersionUID = 1L;

    /**主键*/
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    /**字典ID*/
    @ApiModelProperty(value = "字典ID")
    private String dictId;

    /**字典项文本*/
    @ApiModelProperty(value = "字典项文本")
    private String itemText;

    /**字典项值*/
    @ApiModelProperty(value = "字典项值")
    private String itemValue;

    /**描述*/
    @ApiModelProperty(value = "描述")
    private String description;

    /**排序*/
    @ApiModelProperty(value = "排序")
    private Integer sortOrder;

    /**状态（字典项）*/
    @ApiModelProperty(value = "状态（字典项）")
    private String status;

    /**创建时间*/
    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String creator;

    /**修改时间*/
    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date modifyTime;

    /**修改人*/
    @ApiModelProperty(value = "修改人")
    private String modifier;

    /**逻辑删除（1：未删除，0：已删除）*/
    @ApiModelProperty(value = "逻辑删除（1：未删除，0：已删除）")
    private Boolean flag;


}
